
import { Module, forwardRef } from '@nestjs/common';
import { SequelizeModule } from '@nestjs/sequelize';
import { IndicatorService } from './indicator.service';
import { IndicatorController } from './indicator.controller';
import { Indicator } from './indicator.model';
import { IndicatorDataSecond } from './indicatorDataSecond.model';
import { IndicatorDataMinute } from './indicatorDataMinute.model';
import { IndicatorDataHour } from './indicatorDataHour.model';
import { IndicatorDataDay } from './indicatorDataDay.model';
import { IndicatorDataMonth } from './indicatorDataMonth.model';
import { IndicatorDataYear } from './indicatorDataYear.model';
import { TaskModule } from '@/sysModules/task/task.module';
import { BusModule } from '@/sysModules/bus/bus.module';
import { DictModule } from '@/modules/admin/dict/dict.module';

@Module({
  imports: [
    forwardRef(() => TaskModule),
    BusModule,
    DictModule,
    SequelizeModule.forFeature([Indicator, IndicatorDataSecond, IndicatorDataMinute, IndicatorDataHour, IndicatorDataDay, IndicatorDataMonth, IndicatorDataYear])
  ],
  controllers: [IndicatorController],
  providers: [IndicatorService],
  exports: [IndicatorService]
})
export class IndicatorModule { }
